package com.yml.mall.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ClassName OrderStatus
 * @Author Administrator
 * @Date 2020/4/17   17:41 订单状态:0-已取消-10-未付款，20-已付款，40-已发货，50-交易成功，60-交易关闭
 */
@Getter
@AllArgsConstructor
public enum  OrderStatus {
    CANCEL(0,"取消"),
    NOT_PAY(10,"未付款"),
    PAYED(20,"已付款"),
    SENDED(30,"已发货"),
    SECCESS(40,"交易成功"),
    CLOSE(50,"交易关闭"),;
    Integer code ;
    String desc;
}
